package com.cn.goodsadmin.service;

import com.cn.goodsadmin.dao.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Service("baseService")
@Transactional(propagation = Propagation.REQUIRES_NEW,
        isolation = Isolation.DEFAULT, timeout = 36000, rollbackFor = Exception.class)
public class BaseService {

    @Autowired
    IActionDao actionDao;
    @Autowired
    ITypeDao typeDao;
    @Autowired
    ILockDao lockDao;
    @Autowired
    IOrderDao orderDao;
    @Autowired
    IGoodsInfoDao goodsInfoDao;
    @Autowired
    IRandDisPriceDao randDisPriceDao;
    @Autowired
    IRealPrizeDao realPrizeDao;
    @Autowired
    ITaskProDao taskProDao;
    @Autowired
    ITaskDao taskDao;
    @Autowired
    IDisCardDao disCardDao;
    @Autowired
    IWaterDao waterDao;
    @Autowired
    ITemplateDao templateDao;
    @Autowired
    IUserDao userDao;
    @Autowired
    IVipDao vipDao;
    @Autowired
    IUserCardDao userCardDao;
    @Autowired
    IActionRoutDao actionRoutDao;
    @Autowired
    IRealGoodsDao realGoodsDao;
    @Autowired
    IUserRealDao userRealDao;
    @Autowired
    ILotteryDao  lotteryDao;
    @Autowired
    IBalanceDao  balanceDao;
    @Autowired
    IUserBuyLogDao  userBuyLogDao;
    @Autowired
    IAppDao  appDao;
    @Autowired
    IFareTemplateDao fareTemplateDao;
    @Autowired
    IFaredesDao   faredesDao;

    @Autowired
    ILogisticsDao logisticsDao;

    @Autowired
    IUserAddressDao userAddressDao;

    @Autowired
    IShareDicDao shareDicDao;

    @Autowired
    IShareDao    shareDao;

    @Autowired
    IAttachGoodsDao attachGoodsDao;

    @Autowired
    ILogisticsdicDao logisticsdicDao;

    @Autowired
    IWordsDao  wordsDao;

    @Autowired
    IPanicLogDao panicLogDao;
}
